<template>
    <div class="allbuju"> 
        <div id="top">
            <span class="my1">我的</span>
        </div>
        <div id="top1">
            <img src="@/assets/touxiang.png">
            <div class="name1">
                <span class="fir">刘大志</span>
                <span class="sec">(183****0954)</span>
                <p>已实名认证</p>             
            </div>
        </div>
        <div id="top2">
            <div class="t1">
                <img src="@/assets/icon1.png"/>
                <span>个人信息</span>
                <img src="@/assets/icon5.png" style="width: 15px;height:20px;" class="img"/>
            </div>
            <div class="t2">
                <img src="@/assets/icon1.png">
                <span>修改密码</span>
                <img src="@/assets/icon5.png" style="width: 15px;height:20px;" class="img"/>
            </div>
            <div class="t3">
                <img src="@/assets/icon1.png">
                <span>反馈</span>
                <img src="@/assets/icon5.png" style="width: 15px;height:20px;" class="img"/>
            </div>
            <div class="t4">
                <img src="@/assets/icon1.png">
                <span>关于我们</span>
                <img src="@/assets/icon5.png" style="width: 15px;height:20px;" class="img"/>
            </div>
            <div class="t5">
                <img src="@/assets/icon1.png">
                <span>检查更新</span>
                <img src="@/assets/icon5.png" style="width: 15px;height:20px;" class="img"/>
            </div>
            <button @click="btn2">退出登录</button>
        </div>
        <Footer1/>
    </div>
</template>

<script>
import Footer1 from '@/components/shouye/Footer.vue';
export default {
  name: 'HomeView',
  components: {
    Footer1,
  },
  methods:{
    btn2:function(){
        this.$router.push({path:"/login"});
    }
  }
}
</script>

<style lang="less" scoped>
#top{
        width: 100%;
        height: 50px;
        //弹性布局！！！！！
        display: flex;                 ///！！！！！！
        justify-content: space-between; ///！！！！！！
        align-items: center;//垂直居中
}
.my1{
    margin-left: 50%;
}
#top1{
    width: 100%;
    height: 70px;
    background-color: #f7f7f7;
}
#top2{
    width: 100%;
    height: 647px;
    background-color: #f7f7f7;
}


img{
    margin-left: 10px;
    width: 60px;
    height: 60px;
    float: left;
}
.name1{
    width: 200px;
    height: 60px;
    padding-top: 10px;
    left: 67px;
    float: left;
    font-size: 12px;
}
.fir{
    margin-left: 10px;
    font-size: 14px;
    color: black;
}
.sec{
    margin-left: 10px;
    font-size: 7px;
    color: gray;
}
p{
    margin-left: 10px;
    color: blue;
}
.t1,.t2,.t3,.t4,.t5{
    height: 50px;
    background-color: white;
    margin-bottom: 8px;
    margin-right: 12px;
}
.t1>img,.t2>img,.t3>img,.t4>img,.t5>img{
    width: 50px;
    height: 50px;
}

.img{
    margin-right: 15px;
    float: right;
    margin-top: 15px;
}

.t1>span,.t2>span,.t3>span,.t4>span,.t5>span{
    line-height: 50px;
    font-size: 12px;
    margin-left: 10px;
    color: black;
}
button{
    width: 270px;
    height: 45px;
    margin-left: 15%;
    margin-top: 40px;
    background-color: white;
    color: rgb(134,190,255);
    border-style: none;
}
</style>